headerbar: Update window buttons automatically
authorAlexander Mikhaylenko <alexm@gnome.org>
Wed, 22 Apr 2020 17:39:40 +0000 (22:39 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Thu, 23 Apr 2020 14:26:10 +0000 (19:26 +0500)
commit610d5794ace8130ff9a5a3cc6944321ab621d358
tree427dee0b5ad3d8680de3026ad229bd312a4cb5f5
parent451c3279ee0482c601cf97c1c723de6832f6257f
headerbar: Update window buttons automatically

Update the layout when any of the following properties changes:
 * modal
 * transient-for
 * resizable
 * deletable

Stop updating it from GtkWindow, make that function static.
gtk/gtkheaderbar.c
gtk/gtkheaderbarprivate.h
gtk/gtkwindow.c